package com.atguigu.common.constant;

public class PurchaseDetailConstant {
    public enum StatusEnum{
        CREATE(0,"新建"),
        ASSIGNED(1,"已分配"),
        PURCHASEING(2,"正在采购"),
        FINISHED(3,"已完成"),
        HAS_ERROR(4,"采购失败");
        private Integer code;
        private String value;

        StatusEnum(Integer code, String value) {
            this.code = code;
            this.value = value;
        }

        public Integer getCode() {
            return code;
        }

        public String getType() {
            return value;
        }
    }
}
